package com.teacher.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teacher.pojo.dto.behavior.BehaviorGetDto;
import com.teacher.pojo.entity.Behavior;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teacher.pojo.vo.behavior.BehaviorGetVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 日常行为规范-扣分	 Mapper 接口
 * </p>
 *
 * @author zfm
 * @since 2021-07-30
 */
public interface BehaviorMapper extends BaseMapper<Behavior> {

    /**
     * 查询日常行为规范
     *
     * @param page
     * @param dto
     * @return
     */
    IPage<BehaviorGetVo> getPage(@Param("page") Page<BehaviorGetVo> page, @Param("dto") BehaviorGetDto dto);
}
